import json

import jsonpath

obj=json.load(open('示例数据.json','r',encoding='utf-8'))
names=jsonpath.jsonpath(obj,'$.store.products[*].tags[*]')
print(names)